package com.itheima.stock.service;

import com.itheima.stock.dto.LoginDTO;
import com.itheima.stock.vo.CaptchaVO;
import com.itheima.stock.vo.LoginVO;

/**
 * @author zby
 * @created 2024-06-25 11:13
 * @description
 */
public interface UserService {

    /**
     *  登录接口
     * @param dto 登录参数
     * @return LoginVO
     */
    LoginVO login(LoginDTO dto);
    /**
     * 生成验证码
     *
     * @return CaptchaVO
     */
    CaptchaVO captcha();


}
